package com.cxt.coordinateConversion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//作用在属性上
//运行时生效
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.FIELD})
public @interface CoordinateAutoConversion {
    //默认值为Coordinate
    ConversionType type() default ConversionType.NONE;
}
